package com.smart.manager.pop.entities.models;

import com.smart.common.entities.core.BaseLongModel;
import com.smart.manager.member.entities.enums.PropsKind;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;
import javax.persistence.Table;


/**
 * 活动管理  钻石兑换
 * @author leo
 * @date 2023/09/07
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Accessors(chain = true)
@Table(name = "pop_basic_diamond")
public class PopBasicDiamond extends BaseLongModel {

    @ApiModelProperty("礼包代码")
    private String code;

    @ApiModelProperty("礼包名称")
    private String name;

    @ApiModelProperty("售价")
    private Integer price;

    @ApiModelProperty("档案图标")
    private String icon;

    @ApiModelProperty("礼包类型")
    private PropsKind kind;

    @ApiModelProperty("道具档案")
    private String dataCode;

    @ApiModelProperty("道具名称")
    private transient String dataName;

    @ApiModelProperty("数量")
    private Integer quantity;

    @ApiModelProperty("显示排序")
    private Integer sort;

    @ApiModelProperty("礼包说明")
    private String description;

}
